﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;


namespace Tunnel
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IDataConnectionService”。
    [ServiceContract]
    public interface IDataConnectionService
    {
        [OperationContract]
        void DoWork();
        /// <summary>
        /// 修改设备状态
        /// </summary>
        /// <param name="deviceID">设备ID</param>
        /// <param name="statusID">设备状态ID</param>
        /// <param name="deviceType">设备类型</param>
        /// <param name="updateTime">更新时间</param>
        /// <returns>是否修改成功</returns>
        [OperationContract]
        bool ChangeDeviceStatus(string deviceID, string statusID, string statusDescription, string deviceType, string updateTime);

        [OperationContract]
        bool ChangeDeviceNum(string deviceID, string numType, int num1, int num2, int num3);
    }
}
